package com.zhoutao123.hephaestus.repository.dao;

import com.zhoutao123.hephaestus.repository.entity.BlogMenus;
import com.zhoutao123.hephaestus.repository.entity.BlogMenusExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlogMenusMapper {
    long countByExample(BlogMenusExample example);

    int deleteByExample(BlogMenusExample example);

    int deleteByPrimaryKey(String id);

    int insert(BlogMenus record);

    int insertSelective(BlogMenus record);

    List<BlogMenus> selectByExample(BlogMenusExample example);

    BlogMenus selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BlogMenus record, @Param("example") BlogMenusExample example);

    int updateByExample(@Param("record") BlogMenus record, @Param("example") BlogMenusExample example);

    int updateByPrimaryKeySelective(BlogMenus record);

    int updateByPrimaryKey(BlogMenus record);
}